package com.zed.code.mapping;

import com.zed.code.model.Chargesession;
import com.zed.code.model.ChargesessionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ChargesessionMapper {
    long countByExample(ChargesessionExample example);

    int deleteByExample(ChargesessionExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Chargesession record);

    int insertSelective(Chargesession record);

    List<Chargesession> selectByExample(ChargesessionExample example);

    Chargesession selectByPrimaryKey(Integer id);

    Chargesession selectByOrderId(String orderId);

    int updateByExampleSelective(@Param("record") Chargesession record, @Param("example") ChargesessionExample example);

    int updateByExample(@Param("record") Chargesession record, @Param("example") ChargesessionExample example);

    int updateByPrimaryKeySelective(Chargesession record);

    int updateByPrimaryKey(Chargesession record);
}